package com.jrx.anytxn.accounting;

import org.apache.rocketmq.client.log.ClientLogger;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication(scanBasePackages={"com.jrx.anytxn","jrx.auth.filter"})
@EnableFeignClients(basePackages = {"com.jrx.anytxn.feign"})
@EnableDiscoveryClient
@EnableTransactionManagement
@MapperScan({"com.jrx.anytxn.accounting.mapper","com.jrx.anytxn.transaction.mapper", "com.jrx.anytxn.param.mapper", "com.jrx.anytxn.customer.mapper","com.jrx.anytxn.investor.mapper"})
@EnableAsync
public class AnytxnCfAccountingApiApplication {

    public static void main(String[] args) {
        System.setProperty(ClientLogger.CLIENT_LOG_USESLF4J, "true");
        SpringApplication.run(AnytxnCfAccountingApiApplication.class, args);
    }

}
